package com.hd.appcommon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * room
 * @author 
 */
@Data
@Accessors(chain = true)
public class Room implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房间名称
     */
    private String roomName;

    /**
     * 用户id列表，逗号隔开
     */
    private String userIdList;

    /**
     * 楼名称
     */
    private String buildingName;

    /**
     * 楼id
     */
    private Integer buildingId;

    /**
     * 门表id
     */
    private String doorIdList;

    private static final long serialVersionUID = 1L;
}
